<?php
class Div extends htmlTag{
	/**
	 * 
	 * Shortcut for a HTML paragraph (<p>) element
	 * @param $content
	 * @param $id
	 * @param $atrib
	 */
	public function __construct($content = '',$id = null, $atrib = null){
		parent::__construct('div',$content,null, $atrib);
	
		if(is_null($id)){
			$id = 'container'.htmlTag::$nrTags;
		}
		$this->id=$id;
	}

	public function toHtml(){
		return parent::toHtml(true,false);
	}
}

class Quote extends htmlTag{
	/** 
	 * Shortcut for a HTML quote (<blockquote>) element
	 * @param $content
	 * @param $id
	 * @param $atrib
	 */
	public function __construct($content = '',$id = null, $atrib = null){
		parent::__construct('blockquote',$content,null, $atrib);
	
		if(is_null($id)){
			$id = 'quote'.htmlTag::$nrTags;
		}
		$this->id=$id;
	}

	public function toHtml(){
		return parent::toHtml(true,false);
	}
}